<template>
  <div class="nodata">
    <div class="nodata-wrapper">
      <span>{{text}}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "nodata",
  props: {
    text: {
      type: String,
      default() {
        return "暂无数据";
      }
    }
  }
};
</script>

<style lang="sass" scoped>
@import '@/assets/default.sass'
.nodata
  width: 100%
  padding-top: 50px
  text-align: center
  height: 110px
  line-height: 60px
  >span
    font-size: 16px
    color: #333
</style>